function Checkfiles(f) {
	f = f.elements;
	if (/.*\.(xls)|(xlsx)$/.test(f['filename'].value.toLowerCase()))
		return true;
	alert('Please Upload Microsoft Excel Files Only.');
	f['filename'].focus();
	return false;
}
function viewValidation()
{
	var country=document.search Form.country.value;
	if(
			country!="Afghanistan"||
			country!="Albania"||
			country!="Algeria"||
			country!="Andorra"||
			country!="Angola"||
			country!="Anguilla"||
			country!="Antigua and Barbuda"||
			country!="Argentina"||
			country!="Armenia"||
			country!="Aruba"||
			country!="Australia"||
			country!="Austria"||
			country!="Azerbaijan"||
			country!="Bahamas"||
			country!="Bahrain"||
			country!="Bangladesh"||
			country!="Barbados"||
			country!="Belarus"||
			country!="Belgium"||
			country!="Belize"||
			country!="Benin"||
			country!="Bermuda"||
			country!="Bhutan"||
			country!="Bolivia"||
			country!="Bosnia and Herzegovina"||
			country!="Botswana"||
			country!="Brazil"||
			country!="Brunei"||
			country!="Bulgaria"||
			country!="Burkina Faso"||
			country!="Burundi"||
			country!="Cambodia"||
			country!="Cameroon"||
			country!="Canada"||
			country!="Canaries"||
			country!="Cape Verde"||
			country!="Cayman Islands"||
			country!="Central African Republic"||
			country!="Chad"||
			country!="Chile"||
			country!="China"||
			country!="Colombia"||
			country!="Comoros"||
			country!="Congo (Republic)"||
			country!="Cook Islands"||
			country!="Costa Rica"||
			country!="Croatia"||
			country!="Cuba"||
			country!="Cyprus (North)"||
			country!="Cyprus (South)"||
			country!="Czech Republic"||
			country!="Denmark"||
			country!="Djibouti"||
			country!="Dominica"||
			country!="Dominican Republic"||
			country!="Ecuador"||
			country!="Egypt"||
			country!="El Salvador"||
			country!="Equatorial Guinea"||
			country!="Eritrea"||
			country!="Estonia"||
			country!="Ethiopia"||
			country!="Falkland Islands"||
			country!="Faroe Islands"||
			country!="Fiji"||
			country!="Finland"||
			country!="France"||
			country!="French Guiana"||
			country!="Gabon"||
			country!="Gambia"||
			country!="Georgia"||
			country!="Germany"||
			country!="Ghana"||
			country!="Gibraltar"||
			country!="Greece"||
			country!="Greenland"||
			country!="Grenada"||
			country!="Guadeloupe"||
			country!="Guam"||
			country!="Guatemala"||
			country!="Guinea"||
			country!="Guinea-Bissau"||
			country!="Guyana"||
			country!="Haiti"||
			country!="Hawaii"||
			country!="Honduras"||
			country!="Hong Kong"||
			country!="Hungary"||
			country!="Iceland"||
			country!="India"||
			country!="Indonesia"||
			country!="Iran"||
			country!="Iraq"||
			country!="Ireland"||
			country!="Israel"||
			country!="Italy"||
			country!="Jamaica"||
			country!="Japan"||
			country!="Jordan"||
			country!="Kazakhstan"||
			country!="Kenya"||
			country!="Korea (North)"||
			country!="Korea (South)"||
			country!="Kosovo"||
			country!="Kuwait"||
			country!="Kyrgyzstan"||
			country!="Laos"||
			country!="Latvia"||
			country!="Lebanon"||
			country!="Lesotho"||
			country!="Liberia"||
			country!="Libya"||
			country!="Liechtenstein"||
			country!="Lithuania"||
			country!="Luxembourg"||
			country!="Macau"||
			country!="Macedonia"||
			country!="Madagascar"||
			country!="Malawi"||
			country!="Malaysia"||
			country!="Maldives"||
			country!="Mali"||
			country!="Malta"||
			country!="Marshall Islands"||
			country!="Martinique"||
			country!="Mauritania"||
			country!="Mauritius"||
			country!="Mayotte"||
			country!="Mexico"||
			country!="Micronesia, Federated States Of"||
			country!="Moldova"||
			country!="Monaco"||
			country!="Mongolia"||
			country!="Montenegro"||
			country!="Montserrat"||
			country!="Morocco"||
			country!="Mozambique"||
			country!="Myanmar (Burma)"||
			country!="Namibia"||
			country!="Nauru"||
			country!="Nepal"||
			country!="Netherlands"||
			country!="New Caledonia"||
			country!="New Zealand"||
			country!="Nicaragua"||
			country!="Niger"||
			country!="Nigeria"||
			country!="Niue"||
			country!="Norfolk Island"||
			country!="Norway"||
			country!="Oman"||
			country!="Pakistan"||
			country!="Palau"||
			country!="Panama"||
			country!="Papua New Guinea"||
			country!="Paraguay"||
			country!="Peru"||
			country!="Philippines"||
			country!="Poland"||
			country!="Portugal"||
			country!="Puerto Rico"||
			country!="Qatar"||
			country!="Reunion"||
			country!="Romania"||
			country!="Russia"||
			country!="Rwanda"||
			country!="Samoa"||
			country!="San Marino"||
			country!="Sao Tome and Principe"||
			country!="Saudi Arabia"||
			country!="Senegal"||
			country!="Serbia"||
			country!="Seychelles"||
			country!="Sierra Leone"||
			country!="Singapore"||
			country!="Slovakia"||
			country!="Slovenia"||
			country!="Solomon Islands"||
			country!="Somalia"||
			country!="South Africa"||
			country!="Spain"||
			country!="Sri Lanka"||
			country!="Sudan"||
			country!="Suriname"||
			country!="Swaziland"||
			country!="Sweden"||
			country!="Switzerland"||
			country!="Syria"||
			country!="Taiwan"||
			country!="Tajikistan"||
			country!="Tanzania"||
			country!="Thailand"||
			country!="Togo"||
			country!="Tokelau"||
			country!="Tonga"||
			country!="Trinidad and Tobago"||
			country!="Tunisia"||
			country!="Turkey"||
			country!="Turkmenistan"||
			country!="Turks and Caicos Islands"||
			country!="Tuvalu"||
			country!="Uganda"||
			country!="Ukraine"||
			country!="United Arab Emirates"||
			country!="United Kingdom"||
			country!="United States of America"||
			country!="Uruguay"||
			country!="Uzbekistan"||
			country!="Vanuatu"||
			country!="Venezuela"||
			country!="Vietnam"||
			country!="Virgin Islands"||
			country!="Wallis And Futuna"||
			country!="Yemen"||
			country!="Zambia"||
			country!="Zimbabwe")
		document.getElementById("outputcontent").innerHTML = "Select a country from the list.";
	
	
	
	)}